//
//  QKUserAccount.h
//  QKWeibo-OC
//
//  Created by iMac_Kurt on 16/8/18.
//  Copyright © 2016年 Kurt_Qi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface QKUserAccount : NSObject <NSCoding>
/*
    用户账户模型属性
 */
/// 令牌
@property (nonatomic, copy) NSString *access_token;
/// 过期时间（单位秒）
@property (nonatomic, assign) NSTimeInterval expires_in;
/// 过期日期
@property (nonatomic, strong) NSDate *expiresDate;
/// 用户ID
@property (nonatomic, copy) NSString *uid;
/// 用户昵称
@property (nonatomic, copy) NSString *screen_name;
/// 用户头像（大图）
@property (nonatomic, copy) NSString *avatar_large;

/// 储存数据到本地
- (void)saveUserAccount;

+ (instancetype)initWithDict:(NSDictionary *)dict;
@end
